Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / QuickZip Class / GetZipContents Method / GetZipContents(String,String,Boolean,String[]) Method
The fully-qualified path and name of the zip file. Cannot be empty and must exist.
The password that will be used to decrypt the files.
Boolean value indicating if files contained within sub-folders should be extracted from the zip file.
The string masks that are used to filter the files.


In This Topic
    GetZipContents(String,String,Boolean,String[]) Method
    In This Topic
    Gets the contents of the provided zip file.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetZipContents( _
       ByVal zipFileName As String, _
       ByVal decryptionPassword As String, _
       ByVal recursive As Boolean, _
       ByVal ParamArray fileMasks() As String _
    ) As QuickZipItem()
    'Usage
     
    Dim zipFileName As String
    Dim decryptionPassword As String
    Dim recursive As Boolean
    Dim fileMasks() As String
    Dim value() As QuickZipItem
     
    value = QuickZip.GetZipContents(zipFileName, decryptionPassword, recursive, fileMasks)
    public static QuickZipItem[] GetZipContents( 
       string zipFileName,
       string decryptionPassword,
       bool recursive,
       params string[] fileMasks
    )

    Parameters

    zipFileName
    The fully-qualified path and name of the zip file. Cannot be empty and must exist.
    decryptionPassword
    The password that will be used to decrypt the files.
    recursive
    Boolean value indicating if files contained within sub-folders should be extracted from the zip file.
    fileMasks
    The string masks that are used to filter the files.

    Return Value

    An array of QuickZipItem objects that contain information regarding each file retrieved.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also